
// import {ParamsData,AddInfo} from './type'
import {get,post} from '../../utils/request' 

//获取类型列表
export const getList=(params:any)=>get("stores/list",params)
//批量删除
export const deleteAll=(ids:number[])=>post("stores/deleteall",{ids})
//单条删除
export const del=(id:number)=>get("stores/delete",{id})
//添加
export const add=(data:any)=> post("stores/add",data)
//获取类型
export const TypeList=():Promise<any> => get("stafftype/list",{psize:100})
//获取单条   stores/get
export const getOne=(id:number)=>get("stores/get",{id})
//经营范围  storeservices/list
export const getServices=():Promise<any> => get(" storeservices/list",{psize:100})